$OpenBSD: patch-load_c,v 1.1 2017/05/12 21:25:00 espie Exp $

Index: load.c
--- load.c.orig
+++ load.c
@@ -15,6 +15,8 @@
 
 #include "extern.h"
 
+void dump_cell(cell_type *, int, int, FILE *, int);
+void load_cell(cell_type *, int, int, FILE *, int);
 
 /******************************************************************************
   dump_board (filename, use_brief)
@@ -24,14 +26,14 @@
   side info (as generated by edit, for example). 
 ******************************************************************************/
 
+void
 dump_board (filename, use_brief)
   char filename[];
   int use_brief;
 {
   int i, j;
 
-  FILE *fp,
-       *fopen();
+  FILE *fp;
 
   cell_type cell;
 
@@ -71,6 +73,7 @@ dump_board (filename, use_brief)
   just dump essential terrain and side information.
 ******************************************************************************/
 
+void
 dump_cell (cell, side_count, direction_count, fp, use_brief)
   cell_type *cell;
   int side_count,
@@ -134,6 +137,7 @@ dump_cell (cell, side_count, direction_count, fp, use_
   the pointer <Config->fp>.
 ******************************************************************************/
 
+void
 load_board_header ()
 {
   int i, j,
@@ -227,6 +231,7 @@ load_board_header ()
   of the board.
 ******************************************************************************/
 
+void
 load_board (use_brief)
   int use_brief;
 {
@@ -258,6 +263,7 @@ load_board (use_brief)
   a succinct version of the board.
 ******************************************************************************/
 
+void
 load_cell (cell, load_side_count, direction_count, fp, use_brief)
   cell_type *cell;
   int load_side_count,
